package com.game.event
{
	import flash.events.Event;
	
	public class GameEvent extends Event
	{
		
		public function GameEvent(name:String, data:Object = null, bubbles:Boolean = false, cancelable:Boolean = false)
		{
			this.data = data;
			super(name, bubbles, cancelable);
		}
		
		public var data:Object;
		
		override public function clone():Event
		{
			return new GameEvent(type, this.data, bubbles, cancelable);
		}
	}
}
